import logo from "~/assets/logo.png";

/**
 * @description: 布局全局配置项
 * @author: ellwood
 * @date: 2025-01-22
 * @version: V1.0.0
 */

export interface LayoutType {
  id: string;
  key: "mix" | "side" | "top";
  title: string;
  inverted?: boolean;
  dark?: boolean;
}

export interface LayoutTheme {
  title?: string;
  layout: "mix" | "side" | "top";
  headerHeight: number;
  logo?: string;
  siderWidth: number; // 侧边栏宽度
  siderCollapsedWidth: number; // 侧边栏收起的宽度
  showSiderTrigger: boolean | "bar" | "arrow-circle"; // 侧边栏默认的触发方式
  collapsed: boolean;
  layoutStyle: "dark" | "light" | "inverted";
  theme: string;
}

export const layoutThemeConfig: LayoutTheme = {
  title: "Ellwood-协同办公管理系统",
  layout: "mix",
  headerHeight: 55,
  logo,
  siderWidth: 240,
  siderCollapsedWidth: 48,
  showSiderTrigger: "arrow-circle",
  collapsed: false,
  layoutStyle: "light",
  theme: "default",
};
